<!DOCTYPE html>
<html>
<head>
{include file="common/head"}

<style type="text/css">
.news-hero{position:relative;background:url('{$Cate.image}') center/cover no-repeat;min-height:300px;display:flex;align-items:flex-start;}
</style>
</head>
<body>
<div class="body-inner">
    {include file="common/menu"}

    <main>
        <section class="section page-hero news-hero">
            <div class="container">
                <h1 class="sec-title">{$Cate.name}</h1>
                <p class="page-sub">{$Cate.title}</p>
            </div>
        </section>

        <section class="crumbs">
            <div class="container">
                {hkcms:breadcrumb symbol="<span class='sep'>/</span>" /}
            </div>
        </section>

        <section class="section">
            <div class="container">
                <div id="news-list-page" class="news-list">
                    {hkcms:content model="1" order="weigh desc,publish_time desc" page="1" num="$Cate['num']"}
                    <article class="news-item">
                        <div class="thumb"><a href="{$item.url}"><img src="{$item.thumb}" alt="{$item.title}" loading="lazy"/></a></div>
                        <div class="meta">
                            <div class="news-date">{hkcms:date name="$item['publish_time']" format="Y-m-d H:i"}</div>
                            <div class="news-title"><a href="{$item.url}">{$item.title}</a></div>
                            <p class="news-desc">{$item.description}</p>
                        </div>
                        <div class="news-more"><a href="{$item.url}">查看详情</a></div>
                    </article>
                    {/hkcms:content}
                </div>
                <!-- 分页 -->
                {hkcms:contentpage item="home,pre,pageno,next,last" /}
            </div>
        </section>
    </main>

    {include file="common/footer"}
</div>
</body>
</html>
